package com.demo.dao;

import com.demo.entity.YiSheng;
import com.demo.entity.YiShengPaiBan;
import java.util.List;

public interface YiShengPaiBanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(YiShengPaiBan record);

    YiShengPaiBan selectByPrimaryKey(Integer id);

    List<YiShengPaiBan> selectAll();

    int updateByPrimaryKey(YiShengPaiBan record);
    
    List<YiShengPaiBan> findYishengByShijian(String jiuzhengshijian);
    
    List<YiShengPaiBan> findYishengByYisheng(String yisheng);
    
    List<YiShengPaiBan> findYishengPaiban(String yisheng, String jiuzhengshijian);
    
    String findMaxId();
    
    String findMaxDate();
    
    List<YiShengPaiBan> findavaliablePanban(String jiuzhengshijian,String keshi);
    
    List<String> findADateList(String jiuzhengshijian,String keshi);
    
    List<String> findAYishengBuKeshi(String keshi);
    
    List<String> findAYishengBuKeshiDate(String keshi,String jiuzhengshijian);

	List<String> findADateListByyIsheng(String keshi, String yisheng ,String jiuzhengshijian);
       
}